package com.jointsky.jointframe.service;

import org.springframework.beans.factory.annotation.Autowired;

import com.jointsky.jointframe.entity.SysUser;
import com.jointsky.jointframe.mapper.SysUserMapper;

public class SysUserService {
	
	@Autowired
    private SysUserMapper userMapper;

    public SysUser selectById(Integer id) {
        return userMapper.selectById(id);
    }

    public SysUser selectByName(String name) {
        return userMapper.selectByName(name);
    }

}
